#!/bin/sh
scp -o StrictHostKeyChecking=no /home/antonio/workspace_helios/perfclusters/scripts-apps/input.in root@tp-x001.ci.uchicago.edu:/opt/input.in 
ssh -o StrictHostKeyChecking=no root@tp-x001.ci.uchicago.edu '
 cd /opt 
/opt/mpi/mpich2-1.0.7/build_i386_fc8/bin/mpdboot 
./mpi/mpich2-1.0.7/build_i386_fc8/bin/mpiexec -np 4 ./blast/mpiBLAST-1.5.0-pio/build_i386_fc8_mpich/bin/mpiblast -d drosoph.nt -i input.in -p blastn -o results.txt' 
scp -o StrictHostKeyChecking=no root@tp-x001.ci.uchicago.edu:/opt/results.txt /home/antonio/workspace_helios/perfclusters/WebContent/resultados/